home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Chat & Communication
/
Digsby build 37
/
digsby_setup.exe
/
lib
/
msn
/
MSNClientID.pyo
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2008-10-13
|
2KB
|
70 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.5)
class MSNCapabilities(object):
CLIENT_MOBILE = 1
MSN_EXPLORER8 = 2
INK_GIF = 4
INK_ISF = 8
WEBCAM = 16
MULTIPACKET_MSG = 32
CLIENT_MSNMOBILE = 64
CLIENT_MSNDIRECT = 128
CLIENT_WEB = 512
CLIENT_INTERNAL = 2048
SPACES = 4096
CLIENT_WINXPMCE = 8192
DIRECT_IM = 16384
WINKS = 32768
MSN_SEARCH = 65536
VOICE_CLIPS = 262144
SECURE_IM = 524288
SIP_INVITES = 1048576
FILE_SHARING = 4194304
MSNC1 = 268435456
MSNC2 = 536870912
MSNC3 = 805306368
MSNC4 = 1073741824
MSNC5 = 1342177280
MSNC6 = 1610612736
MSNC7 = 1879048192
MSNC8 = 0x80000000L
MSNC9 = 0x90000000L
num_to_str = {
1: 'mobile',
2: 'msn explorer 8',
4: 'ink gif support',
8: 'ink isf support',
16: 'shared webcam',
32: 'multipacket messaging',
64: 'msn mobile device',
128: 'msn direct',
512: 'web based client',
2048: 'office live client',
4096: 'msn space',
8192: 'windows xp media center',
16384: 'direct im',
32768: 'recv winks',
65536: 'msn search',
262144: 'recv voice clips',
524288: 'secure channel communications',
1048576: 'SIP invitations',
4194304: 'folder sharing',
268435456: 'msnc1',
536870912: 'msnc2',
805306368: 'msnc3',
1073741824: 'msnc4',
1342177280: 'msnc5',
1610612736: 'msnc6',
1879048192: 'msnc7',
0x80000000L: 'msnc8',
0x90000000L: 'msnc9' }
def parse_client_id(num):
return (', '.join,)((lambda .0: for k in .0:
if k & int(num) == k:
num_to_str[k]continue)(num_to_str))